<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		
		<button type="button" onclick="Cym()">跳转到C页面</button>
		<br>
		<br>
		<button type="button" onclick="doBack();">后退</button>
		<button type="button" onclick="doForward();">前进</button>
		<button type="button" onclick="SX()">刷新</button>
	</body>
	<script type="text/javascript">
		function Cym(){
			location.href='C.html';
		}
		//前进
		function doForward(){
			history.forward();
		}
		//后退
		function doBack(){
			history.back();
		}
		//刷新
		function SX(){
			location.reload();
		}
	</script>
</html>
